﻿using System;
using System.Runtime.Serialization;

namespace CodeCounsel.SharePoint2010.DigiD
{
    /// <summary>
    /// Thrown when something goes wrong with authenticating against DigiD.
    /// </summary>
    [Serializable]
    public class DigiDException : ApplicationException
    {
        public DigiDException() { }
        public DigiDException(string message) : base(message) { }
        public DigiDException(string message, Exception inner) : base(message, inner) { }
        protected DigiDException(SerializationInfo info, StreamingContext context) : base(info, context) { }
    }
}
